home *** CD-ROM | disk | FTP | other *** search
/ New Star Software Collection / NSS_Collection.iso / 3-069 qemm 603 / 1.ima / QMANFEST / CH9.MAN < prev    next >
Encoding:
Text File  |  1991-10-07  |  17.7 KB  |  418 lines

  1. Chapter 9
  2.  
  3. QEMM-386
  4.  
  5. This chapter describes the screens available if you have an 80386
  6. PC with Quarterdeck Expanded Memory Manager-386 (QEMM-386)
  7. installed and running. If you do not have an 80386 PC, you may
  8. still find this chapter useful in case you plan on getting an
  9. 80386 in the future.
  10.  
  11. QEMM-386 is a device driver which is cognizant of the memory you
  12. have in your PC. Its principal function is to transform all of
  13. your memory into memory usable in the ways specified by EMS 3.2,
  14. EMS 4, and EEMS standards. To be specific, your extended memory
  15. (memory above 1024K) is converted into expanded memory, with all
  16. the functionality of expanded memory. Your conventional memory is
  17. made mappable.
  18.  
  19. QEMM-386 also takes maximum advantage of any available areas of
  20. high memory in your computer, that is the areas between 640K and
  21. 1024K which are not in use by any ROMs or adapter RAM that you
  22. have. As you will see in Manifest's QEMM-386 displays, QEMM-386
  23. not only can make available high memory areas usable for expanded
  24. memory (known as mappable areas), but can also put RAM (in chunks
  25. as small as 4K) into these areas. The result  is that more high
  26. memory is available to load DOS resources, TSRs and device
  27. drivers. Loading these things into high RAM is done using
  28. QEMM-386's LOADHI.COM and LOADHI.SYS programs. 
  29.  
  30. The topics included in the QEMM-386 category detail the effects
  31. of QEMM-386's management of your memory. It is recommended that
  32. you be familiar with the information in your QEMM-386 manual,
  33. that you have a basic understanding of expanded memory (see
  34. Chapter 6), and that you keep in mind and review the other
  35. Manifest screens as they relate to memory utilization.
  36.  
  37. ~Subhead~ QEMM-386 Overview (QO)
  38.  
  39.  QEMM-386 Overview presents the key elements necessary to
  40. determine QEMM-386's status. This screen appears if QEMM-386 is
  41. installed and running at the time you run Manifest.
  42.  
  43.  You should have this screen on hand if you need technical
  44. support from Quarterdeck on QEMM-386. 
  45.  
  46.  In the sections which follow you may find suggestions about
  47. modifying QEMM-386 parameters or command line switches. Details
  48. concerning QEMM-386 parameters and how you specify them are
  49. contained in the Quarterdeck Expanded Memory-386 user manual.
  50.  
  51. ~Subhead~ Key Terms
  52.  
  53.  QEMM-386's Status shows you the current status of QEMM.SYS.
  54. QEMM.SYS may indicate that it is configured with High RAM or
  55. Mapped ROM, whether memory is back-filled or video filled, and
  56. whether expanded memory is being used. 
  57.  
  58.  Mode refers to the "current state" of QEMM.SYS. When there is
  59. high RAM, ROM mapping, memory back-filling, or video filling,
  60. QEMM's mode is ON and may not be turned OFF. Otherwise, QEMM's
  61. mode will typically be either AUTO/ON or AUTO/OFF, depending upon
  62. whether expanded memory is in use. If QEMM's mode is OFF (without
  63. the AUTO) then expanded memory is not accessible until you change
  64. the mode using the QEMM.COM program. 
  65.  
  66.  Page Frame gives the address of the page frame. This entry
  67. indicates "None" if there is no page frame.
  68.  
  69. ~Subhead~ QEMM-386 Type (QY)
  70.  
  71.  QEMM-386 Type presents you with two views of your first megabyte
  72. of memory as seen by QEMM-386. This screen appears if QEMM-386 is
  73. installed and running at the time you run Manifest. 
  74.  
  75.  The first view of your first megabyte of memory, seen through
  76. QEMM-386's eyes, is a map. Each row of the map contains 16
  77. characters representing 64K of memory. Each character (+ * F H M
  78. X V A R /) represents 4K of memory~dash~and has a special
  79. meaning, as described in the legend table to the right. Base
  80. addresses are indicated in the left column (0n00 at the top
  81. through Fn00 at the bottom). To determine a particular 4K area
  82. replace the value "n" with the character listed at the top of the
  83. screen. 
  84.  
  85.  The second view is the same information, displayed in list
  86. format. You can display this list by pressing the F3 key.
  87.  
  88.  You use this screen to:
  89.  
  90. ~Item~ determine the effect of QEMM-386's management of memory in
  91. your PC.
  92.  
  93. ~Subhead~ Type Map Described
  94.  
  95.  QEMM-386 describes your first megabyte of memory using any of
  96. ten symbols. These are as follows:
  97.  
  98. ~Item~ Mappable (+): areas of memory which can be mapped into
  99. using EMS function calls. These areas must be 16K in size and
  100. aligned on 16K boundaries. Areas of high memory that are marked
  101. as Mappable can be converted to High RAM by adding the RAM switch
  102. to the QEMM.SYS command line.
  103.  
  104. ~Item~ Rammable (*): areas of memory which can be mapped into by
  105. QEMM-386 but are too small to be accessed by EMS function calls.
  106. You must add the RAM switch to the QEMM.SYS command line to fill
  107. the memory area with expanded memory.
  108.  
  109. ~Item~ Page Frame (F): a mappable area, 64K in size, which is the
  110. place that almost all EMS programs use for mapping. Other
  111. mappable regions are only used by programs written specifically
  112. for EMS 4.0 or EEMS.
  113.  
  114. ~Item~ High RAM (H): areas above conventional memory which have
  115. been filled with RAM by QEMM-386. Any areas above conventional
  116. memory marked as Mappable (+) or Rammable (*) may be converted to
  117. High RAM (H) by adding the RAM switch to the QEMM.SYS command
  118. line. Once the RAM instruction has been added and the system has
  119. been re-booted, high RAM areas may be used by QEMM's LOADHI.COM
  120. and LOADHI.SYS programs to load TSRs and device drivers in high
  121. memory. 
  122.  
  123. ~Item~ Mapped ROM (M): addresses of Read Only Memory which have
  124. been copied to RAM, and then mapped into the original addresses
  125. by QEMM's ROM switch. The purpose of mapping ROM is to run ROM
  126. code in fast memory.
  127.  
  128. ~Item~ Excluded (X): areas of memory which have been explicitly
  129. excluded from use by the exclude switch to QEMM.SYS.
  130. Additionally, QEMM-386 automatically excludes the addresses from
  131. 0000 to 0FFF. If one of your adapter cards fails to identify
  132. itself properly, QEMM may try to use all or part of the memory
  133. addresses used by the adapter as either High RAM or Mappable
  134. memory. You must explicitly exclude the conflicting memory areas
  135. from QEMM or problems will occur.
  136.  
  137. ~Item~ Video (V): addresses reserved for video display memory.
  138.  
  139. ~Item~ Adapter RAM (A):  regions of memory which have RAM mapped
  140. into them by adapter cards other than video adapter cards. 
  141.  
  142. ~Item~ ROM (R): regions of Read Only Memory which have not been
  143. re-mapped by the QEMM.SYS ROM switch. 
  144.  
  145. ~Item~ Split ROM (/): addresses which QEMM.SYS has detected as
  146. having ROM which occupies only a portion of the 4K area. Such
  147. areas cannot be re-mapped by the QEMM.SYS ROM switch.
  148.  
  149. ~Subhead~ Type List
  150.  
  151.  This screen shows the identical information as the Type Map
  152. screen, but lists the regions by Memory Area, indicating the size
  153. of each region.
  154.  
  155. ~Subhead~ Technical Notes
  156.  
  157.  Extra Mapped ROM: There are two conditions under which there
  158. will be Mapped ROM even when you have not given a ROM switch on
  159. the QEMM.SYS command line:
  160.  
  161. ~Item~ There is always 4K of Mapped ROM in the system ROM.
  162. QEMM-386 automatically uses one area of the system ROM to help it
  163. detect reboot requests.
  164.  
  165. ~Item~ On a COMPAQ Deskpro 386, QEMM-386 automatically maps the
  166. video ROM and the system ROM to emulate the speed-up that the
  167. Deskpro itself imposes but which QEMM-386 overrides. QEMM-386
  168. does this to make optimal use of the COMPAQ reserved memory
  169. without slowing down video and other operations.
  170.  
  171.  ~Subhead~ QEMM-386 Accessed (QA)
  172.  
  173.  QEMM-386 Accessed presents you with two views of the first
  174. megabyte of memory~dash~indicating the 4K regions of memory that
  175. have and have not been accessed from the time you booted your PC
  176. until the time of the display. This screen appears only if
  177. QEMM-386 Version 5 or above is running at the time you use
  178. Manifest.
  179.  
  180.  The first view is a map of this information. The second view is
  181. a list. You can alternate between the map and the list by
  182. pressing the F3 key. 
  183.  
  184.  Manifest uses the term Unaccessed (U) to refer to the areas of
  185. memory which have not been read or written by a program.
  186. Potentially, those areas above 640K may be usable for mapping
  187. high RAM.
  188.  
  189.  Manifest also distinguishes between areas of memory that have
  190. been read by a program, Accessed (A), and areas of memory which
  191. have had data written to them by a program, "Written" (W).
  192.  
  193.  
  194. ~Subhead~ Technical Hints 
  195.  
  196.  You can use this screen to determine how "big" a program is
  197. (i.e. how much conventional memory it accesses and writes into)
  198. and whether a program accesses or writes into an area of high
  199. memory.
  200.  
  201.  Inaccuracy of Accessed Map for Mappable Regions: The information
  202. displayed is not accurate for mappable regions. When the computer
  203. maps memory into a mappable area, the process of mapping clears
  204. the state of the region, and makes it appear to be unaccessed.
  205. This clearing occurs often in the conventional areas of memory in
  206. DESQview by virtue of multitasking. Active use of the Page Frame
  207. for mapping will also clear these indicators. Other areas are not
  208. so frequently mapped.
  209.  
  210.  
  211. ~Subhead~ Accessed List
  212.  
  213.  This screen shows the identical information as the Accesed Map
  214. Screen, but lists the regions by Memory Area, indicating the size
  215. of each region.
  216.  
  217.  
  218. ~Subhead~ QEMM-386 Analysis (QN)
  219.  
  220.  QEMM-386 Analysis presents you with two views of your PC's first
  221. megabyte of memory~dash~indicating Manifest's assessment of what
  222. memory is OK to use, what memory should be excluded and what
  223. should be included. This assessment is based upon you having had
  224. QEMM-386 watch what memory was accessed by your programs. This
  225. enables you to better optimize the use of your memory.
  226.  
  227.  The first view is in map form. The second view of this
  228. information is in list format. You can alternate between the map
  229. and the list by pressing the F3 key. 
  230.  
  231.  You use the map to see what memory can be used. However, the
  232. list gives you the memory addresses that you may instruct
  233. QEMM.SYS to include or exclude.
  234.  
  235.  WARNING: The  steps you must follow in order for the QEMM-386
  236. Analyis screen to be accurate are described later in this
  237. section. If you do not follow this procedure:
  238.  
  239. ~Item~ the information in these screens may not be valid, and
  240.  
  241. ~Item~ any and all suggestions and hints you find in this section
  242. may be inappropriate.
  243.  
  244. ~Subhead~ Analysis Map
  245.  
  246.  OK (O): areas of memory that have been used by a properly
  247. specified to QEMM.
  248.  
  249.  Exclude (X): areas of memory that have been used by a program,
  250. but QEMM did not expect it to. You should use the EXCLUDE switch
  251. to QEMM to prevent QEMM from using these areas.
  252.  
  253.  Include (I): areas of high memory that have not been used by a
  254. program, but have been reserved by QEMM. You may use the INCLUDE
  255. switch to QEMM to allow QEMM to use these areas.
  256.  
  257.  ~Subhead~ Analysis List
  258.  
  259.  This screen shows the identical information as the Analysis Map
  260. Screen, but lists the regions by Memory Area, indicating the size
  261. of each region.
  262.  
  263. ~Subhead~ Analysis Procedures
  264.  
  265.  The Benefit of QEMM-386 Analysis: As you run your favorite
  266. programs, QEMM is recording the memory accessed by these
  267. programs. Manifest then analyzes the memory accessed and
  268. recommends how to best configure your QEMM.SYS for optimum use of
  269. your memory. The end result of analyzing your memory is that more
  270. of your high memory may become usable for memory resident
  271. programs, device drivers, and DOS resources~dash~resulting in
  272. more conventional memory for your favorite programs.
  273.  
  274.  However, for QEMM to accurately determine what high memory
  275. addresses are used requires several sequential steps, all of
  276. which must be performed before accurate results will be obtained.
  277.  
  278. ~Item~ Modify the QEMM.SYS command line in CONFIG.SYS so it
  279. specifies the ON switch. 
  280.  
  281. ~Item~ Save your CONFIG.SYS file and re-boot your PC.
  282.  
  283. ~Item~ Run all of your programs and perform all of their
  284. functions. If you use DESQview, you should start it, and
  285. immediately quit without running programs.
  286.  
  287. ~Item~ Access all of the hardware in your computer. If you have
  288. two monitors connected to your computer, display information on
  289. each of them. Access each of your disk drives. Format a diskette.
  290. Print a document. If you have a network adapter card or a 3270
  291. card or the like, connect to it.
  292.  
  293. ~Item~ Do not run utilities other than Manifest which check the
  294. functioning of your computer's hardware, especially those that
  295. check memory.
  296.  
  297. ~Item~ After you have run every program you use, run Manifest and
  298. select QEMM-386 Analysis.
  299.  
  300. ~Item~ Examine the Analysis list and note the suggestions. Modify
  301. the QEMM.SYS command line in CONFIG.SYS to include or exclude
  302. memory areas specified in the Analysis List and to remove the ON
  303. switch you added earlier.
  304.  
  305.  Verify Your QEMM Configuration: If you want to verify that you
  306. have optimized the use of your memory, repeat the Analysis
  307. process and display the Analysis List. You should see " 0000 -
  308. FFFF  1024K   OK". If you see additional Exclude (X) areas, use
  309. them. If you see additional Include (I) areas, ignore them.
  310.  
  311. ~Subhead~ QEMM-386 Memory (QM)
  312.  
  313.  QEMM-386 Memory gives you an accounting of the memory in your PC
  314. (conventional, high RAM, extended, and expanded) before and after
  315. QEMM-386 has configured this memory.
  316.  
  317.  On some computers there will be a fifth category, either Top
  318. Memory (seen most often on Compaqs) or shadow RAM (seen most
  319. often on machines using a Chips & Technologies chip set).
  320.  
  321.  You use this screen to:
  322.  
  323. ~Item~ see a summary of how QEMM has made use of your memory,
  324.  
  325. ~Item~ quickly learn if QEMM can detect the shadow RAM on your
  326. PC,
  327.  
  328. ~Item~ find out how much memory is in your PC, and how it is
  329. being used.
  330.  
  331. ~Subhead~ Memory Accounting
  332.  
  333.  The "Initial" column shows the totals of each type of memory
  334. when you turn on your computer. The Expanded and High RAM
  335. categories always start at OK. The total of this column should
  336. equal the amount of memory in your computer.
  337.  
  338.  The "Unavailable to QEMM" column indicates memory which has been
  339. made unavailable to QEMM before QEMM gets a chance to use it.
  340. Drivers loaded before QEMM which use extended memory will make
  341. that memory unavailable to QEMM. Also, machines with Shadow RAM
  342. make much of it unavailable for QEMM to use.
  343.  
  344.  The "Converted by QEMM" column shows what QEMM does to your
  345. memory. It converts Extended memory (and Shadow RAM or Top Memory
  346. if you have any) into Expanded Memory and High RAM. Thus, the
  347. column shows some memory being "used" (subtracting from the
  348. available) and some being "created" (adding to the available).
  349. QEMM also can fill in missing conventional memory, so you might
  350. see it "creating" more conventional memory. The total of this
  351. column indicates how much memory QEMM keeps for its own use and
  352. for mapping your ROMs.
  353.  
  354.  The "Leaving" column shows how much memory is left over once
  355. QEMM is through initializing itself. These numbers are very
  356. important. The remaining conventional memory, usually 640K,
  357. indicates how much contiguous memory is accessible for your DOS
  358. programs. The remaining Extended memory, usually 0K, indicates
  359. how much Extended memory is left over for other programs to use.
  360. Note that if your programs can access memory through the EMS, XMS
  361. or VCPI interfaces, then they do not need any Extended memory
  362. left for them by QEMM. The remaining Expanded memory is how much
  363. memory is available to programs which support EMS. The remaining
  364. High RAM indicates the memory available for loading DOS
  365. resources, TSRs, and device drivers into high memory.
  366.  
  367.  The box at the bottom of the screen details the ways in which
  368. QEMM has used memory. The first number is the total amount of
  369. memory QEMM is using for itself and for mapping ROMs. This is the
  370. same as the total of the third column from the top box. The next
  371. numbers indicate the size of QEMM's code and data, the memory
  372. reserved for QEMM tasks, the memory reserved for a DMA buffer,
  373. the memory reserved for real alternate maps, the memory used for
  374. mapping ROMs, and finally a small amount of memory (uually less
  375. than 16K) which was unusable for various reasons. These numbers
  376. can be changed depending on the setup of your computer and your
  377. use of some command line parameters to QEMM.SYS.
  378.  
  379.  At the bottom of the screen is a number showing how much of your
  380. conventional memory area is being used by QEMM. Note that this
  381. number is always very small.
  382.  
  383. ~Subhead~ Diagnostic Tips
  384.  
  385.  If You Think There Is More Memory in Your PC Than Is Shown:
  386. Check that your PC's CMOS is set up properly, and that there are
  387. no defective (or loose) memory chips.
  388.  
  389.  Why QEMM May Not Be Able to Use All of Your Shadow RAM: Shadow
  390. RAM which overlaps ROM or adapter RAM cannot be used by QEMM.
  391. Thus, shadow RAM which overlaps the system ROM, the video adapter
  392. ROM, the video display RAM and any other adapters you have is
  393. unavailable to QEMM.
  394.  
  395.  Let QEMM Allocate Extended Memory: We suggest that you not load
  396. device drivers that use extended memory before QEMM. Instead,
  397. reserve extended memory for use after QEMM by using the EXTMEM=
  398. command line switch. If your extended memory program can get its
  399. memory through XMS, then you do not need to reserve extended
  400. memory for it.
  401.  
  402.  Using Maps: If you are not using a multitasking environment,
  403. such as DESQview, specify the MAPS=0 parameter on the QEMM.SYS
  404. command line to gain an additional 32K of expanded (or extended)
  405. memory. If you are using DESQview you should have one map plus
  406. one map for each DESQview window you use. 
  407.  
  408.  Unassigned: The Unassigned category of this screen represents
  409. that memory which QEMM-386 controls but which has not been given
  410. any function. After QEMM-386 has set up its data and High RAM and
  411. other resources, whatever is left of memory is made expanded
  412. memory. Since expanded memory is allocated 16K at a time, any
  413. memory that is less than 16K or is fragmented is left as
  414. Unassigned. Some of the QEMM-386 parameters can be altered (RAM,
  415. MAPS, ROM, primarily) to increase or decrease the amount of
  416. Unassigned memory, to either use it for these new purposes or to
  417. increase it until it becomes more expanded memory.
  418.